use tantivy::Document as TDoc;

pub type Document = TDoc;

impl Document {
    pub fn from_schema(schema: Schema) -> Document {
        let mut document = TDoc::default();

        for field_entry in schema.fields() {
            document
        }

        document
    }
}
